package es.udc.pfc.davidparedes.model.mission;

import java.util.Calendar;
import java.util.List;

import es.udc.pfc.davidparedes.model.dao.GenericDao;
import es.udc.pfc.davidparedes.model.userservice.TypeAndMillisDTO;

public interface MissionDao extends GenericDao<Mission, Long> {
	
	public List<Mission> findMissionsByDate(Long userProfileId, Calendar startDate, Calendar endDate);

	public List<Mission> findStoreMissionsByDate(Long storeId, Calendar startDate, Calendar endDate);
	
	public List<Mission> findStoreMissionsAtMoment(Long storeId, Calendar moment);
	
	public List<TypeAndMillisDTO> getVendorMissionsDuration(Long userProfileId, Calendar startDate, Calendar endDate);

}